import {
	request
} from "@/utils/request.js";
export function apiGetBannerList() {
	return request({
		url: "/api/bizhi/homeBanner",
	});
}

export function apiGetWallNewsList() {
	return request({
		url: "/api/bizhi/wallNewsList",
	});
}

export function apiGetRandomWall() {
	return request({
		url: "/api/bizhi/randomWall",
	});
}

export function apiGetClassify(data = {}) {
	return request({
		url: "/api/bizhi/classify",
		data,
	});
}

export function apiGetWallList(data = {}) {
	return request({
		url: "/api/bizhi/wallList",
		data,
	});
}

export function apiGetWallDetail(id) {
	return request({
		url: "/api/bizhi/detailWall?id=" + id,
	});
}

export function apiSetupScore(data = {}) {
	return request({
		url: "/api/bizhi/setupScore",
		data,
	});
}

export function apiWriteDownload(data = {}) {
	return request({
		url: "/api/bizhi/downloadWall",
		data,
	});
}

export function apiGetUserInfo(data = {}) {
	return request({
		url: "/api/bizhi/userInfo",
		data,
	});
}

export function apiGetUserWallList(data = {}) {
	return request({
		url: "/api/bizhi/userWallList",
		data,
	});
}

export function apiGetNoticeDetail(data = {}) {
	return request({
		url: "/api/bizhi/wallNewsDetail",
		data,
	});
}

export function apiSearchWall(data = {}) {
	return request({
		url: "/api/bizhi/searchWall",
		data,
	});
}